/**
 * gislin 2017年7月11日
 */
package com.btcode.db.config;

/**
 * 数据库配置
 *
 * @author gislin 2017年7月11日
 */
public class DataBaseConfig {

    DataBaseType dbType;

    String ip;

    String port;

    String userName;

    String password;

    String dbName;

    String connectionString;

    String dirverClass;

    boolean isLog;

    boolean usePool;

    public DataBaseType getDbType() {
        return dbType;
    }

    public void setDbType(DataBaseType dbType) {
        this.dbType = dbType;
    }

    public boolean isLog() {
        return isLog;
    }

    public void setLog(boolean isLog) {
        this.isLog = isLog;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public boolean isUsePool() {
        return usePool;
    }

    public void setUsePool(boolean usePool) {
        this.usePool = usePool;
    }

    public String getConnectionString() {
        return connectionString;
    }

    public String getDirverClass() {
        return dirverClass;
    }

    public void setDirverClass(String dirverClass) {
        this.dirverClass = dirverClass;
    }

    public void setConnectionString(String connectionString) {
        this.connectionString = connectionString;
    }

}
